package com.cy.store.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;
import java.io.Serializable;

/**
 * (TCart)实体类
 *
 * @author makejava
 * @since 2022-02-09 20:09:28
 */
@Data
@ToString
@EqualsAndHashCode
public class Cart extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 929144836588526338L;
    /**
    * 购物车数据id
    */
    private Integer cid;
    /**
    * 用户id
    */
    private Integer uid;
    /**
    * 商品id
    */
    private Integer pid;
    /**
    * 加入时商品单价
    */
    private Long price;
    /**
    * 商品数量
    */
    private Integer num;

}